//
//  YKFriendThrendsController.m
//  百思不得姐
//
//  Created by Eric.Wu on 16/2/24.
//  Copyright © 2016年 Eric.Wu. All rights reserved.
//

#import "YKFriendThrendsController.h"
#import "YKRecomentController.h"
#import <SVProgressHUD.h>
#import "YKLoginRegistered.h"
//#import <AFNetworking.h>
@interface YKFriendThrendsController ()
@property (nonatomic,weak) UIImageView *iconView;

@property (nonatomic,weak) UILabel *textLabel;

@property (nonatomic,weak) UIButton *loginButton;
@end

@implementation YKFriendThrendsController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"关注";
    self.view.backgroundColor = YKGlobalBg;
     self.navigationItem.rightBarButtonItem = [UIBarButtonItem itemWithImageName:@"friendsRecommentIcon" highImageName:@"friendsRecommentIcon-click" target:self action:@selector(FirendsClick)];
    }
#pragma mark - 点击了左边的按钮
- (void)FirendsClick
{
    YKRecomentController *vc = [[YKRecomentController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)loginRegistered {
    YKLoginRegistered *loginRegistered = [[YKLoginRegistered alloc] init];
    [self.navigationController presentViewController:loginRegistered animated:YES completion:nil];
}
@end
